﻿<Window x:Class="Levfier.GUI.EditorControls.Measuring.SpectrumAnalyzerWindow"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Height="530" Width="320" Background="#FF272727" ResizeMode="NoResize">

    <Window.Resources>
        <!--Dark Theme-->
        <ResourceDictionary Source="../../../Themes/Metro/Dark/MetroDark.MSControls.Core.Implicit.xaml" />
        <!--<ResourceDictionary Source="../Dark/MetroDark.MSControls.Toolkit.Implicit.xaml" />-->
    </Window.Resources>

    <StackPanel x:Name="stack">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="4*"/>
            </Grid.ColumnDefinitions>
            <Label Content="X Axis"/>
            <ComboBox x:Name="mode" SelectedIndex="1" Grid.Column="1">
                <ComboBoxItem>Normal</ComboBoxItem>
                <ComboBoxItem>Log</ComboBoxItem>
            </ComboBox>
        </Grid>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="4*"/>
            </Grid.ColumnDefinitions>
            <Label Content="Y Axis"/>
            <ComboBox x:Name="powerMode" SelectedIndex="0" Grid.Column="1">
                <ComboBoxItem>Normal</ComboBoxItem>
                <ComboBoxItem>Decibel</ComboBoxItem>
            </ComboBox>
        </Grid>
        <!--<StackPanel x:Name="parameterStack"/>-->
        <StackPanel x:Name="imageStack">
            <Image x:Name="spectrumImage" 
                   MouseWheel="SpectrumImage_MouseWheel"
                   MouseLeftButtonDown="SpectrumImage_MouseLeftButtonDown" 
                   MouseLeftButtonUp="SpectrumImage_MouseLeftButtonUp" 
                   MouseMove="SpectrumImage_MouseMove" 
                   MouseLeave="SpectrumImage_MouseLeave"></Image>
        </StackPanel>
    </StackPanel>
</Window>